package com.puyuan.dao;

import com.puyuan.domain.Student;

import java.util.List;

public interface StudentDao {
    /**
     * 添加学生
     * @param student
     * @return
     */
    int addStu(Student student);

    List<Student> findStu(int currentPage,int pageSize,String name1,String gender1);

    int findStuCount(String name1,String gender1);

    int deleteStu(String ids);

    Student findStuById(int id);

    int modifyStu(Student s);
}
